package com.bgs.mapper;

import com.bgs.vo.CommodityorderVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CommodityorderMapper {
    List<CommodityorderVo> getCommodityorder(Integer riderId,Integer coType);

    List<CommodityorderVo> getCommodityorderImg(Integer commodityId);

    List<CommodityorderVo> getCommodityorderDetails(Integer coId,Integer riderId);

    Integer getCommodityorderType(@Param("coId") Integer coId, @Param("coType") Integer coType);

    CommodityorderVo getCommodityorderCount(Integer riderId);
}
